package com.qk.service;

import com.qk.common.PageResult;
import com.qk.dto.Activitydto;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> listAll(Activitydto activitydto);

    void delete(Integer id);

   void save(Activity activity);

    Activity get(Integer id);

    void update(Activity activity);

    List<Activity> listByType(Integer type);

    List<Activity> listByTypeAll();
}
